package com.zlf.gulimall.product;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * mybatis-plus:
 * 1.逻辑删除
 *      1.导入mp依赖，配置逻辑删除
 *      2.实体类上相应的属性加上注解@TableLogic
 */
@MapperScan("com.zlf.gulimall.product.dao")
@SpringBootApplication
@EnableDiscoveryClient
public class GulimallProductApplication {

    public static void main(String[] args) {
        SpringApplication.run(GulimallProductApplication.class, args);
    }

}